package com.sporadic.desk.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;

/**
 * @program: sporadic
 * @description:
 * @author: LHD   QQ:1727865856
 * @create: 2019-12-01 17:15
 **/
@Data
@TableName("coupon")
public class Coupon {
    @TableId(value = "coupon_id",type = IdType.AUTO)
    private Integer couponId;
    @TableField(value = "title")
    private String title;
    @TableField(value = "coupon_merchant")
    private Integer couponMerchant;
    @TableField(value = "begin_time")
    private Date beginTime;
    @TableField(value = "end_time")
    private Date endTime;
    @TableField(value = "cutoff_time")
    private Date cutoffTime;
    @TableField(value = "zk")
    private Double zk;
    @TableField(value = "coupon_minprice")
    private BigDecimal couponMinprice;
    @TableField(value = "coupon_price")
    private BigDecimal couponPrice;
    @TableField(value = "count")
    private Integer count;
    @TableField(value = "conpon_des")
    private String couponDes;
    @TableField(value = "coupon_image")
    private String couPonImage;



    @TableField(exist = false)
    private CouponStatus couponStatus;
    @TableField(exist = false)
    private CouponType couponType;
    @TableField(exist = false)
    private UserCoupon userCoupon;


}
